FluentCrm\App\Models\Campaign D

Total Complexity 126
Dependencies 14
Dependents 12
Total lines 883
Lines of code 591
Logical lines of code 298
Comment lines 94
Methods 43
Properties 3

Methods 43

Method Rating Maintainability Complexity Lines of code
getSubscribeIdsByListModel()
B
41 18 57
getSubscribersModel()
A
43 11 48
subscribe()
A
42 8 51
boot()
A
45 7 44
stats()
S
46 6 38
syncSubjects()
S
52 6 26
attachLabels()
S
54 5 21
guessEmailSubject()
S
57 5 16
maybeDeleteDuplicates()
S
51 4 28
getSubscriberIdsBySegmentSettings()
S
56 4 20
getEmailScheduleAt()
S
56 4 17
subscribeBySegment()
S
58 4 16
duplicateSubjects()
S
59 4 16
rangedScheduleDates()
S
59 3 14
detachLabels()
S
63 3 11
getUtmParams()
S
62 2 12
getShareableUrl()
S
61 2 12
getSubjectAttribute()
S
71 2 6
getSubscriberIdsCountBySegmentSettings()
S
69 2 7
getSubscribeIdsByList()
S
65 2 9
getHash()
S
63 2 10
getSubQueryForLisTorTagFilter()
S
60 1 14
getFormattedLabels()
S
63 1 11
setSettingsAttribute()
S
78 1 3
labels()
S
68 1 7
labelsTerm()
S
75 1 4
getSettingsAttribute()
S
80 1 3
getRecipientsCountAttribute()
S
81 1 3
deleteCampaignData()
S
67 1 8
getRenderedBodyAttribute()
S
80 1 3
subjects()
S
78 1 3
getEmailCount()
S
74 1 5
campaign_emails()
S
72 1 5
archive()
S
74 1 5
filterDuplicateSubscribers()
S
66 1 8
getParsedText()
S
79 1 3
scopeOfType()
S
79 1 3
unsubscribe()
S
70 1 6
scopeArchived()
S
79 1 3
template()
S
78 1 3
setSlugAttribute()
S
77 1 3
emails()
S
73 1 5
getSubscribeIdsByListCount()
S
74 1 4